import tushare as ts

token = 'ec10c4e9cdc91d52e6cedaf20a663b510e68d0006e217cae1b43bfb6'
ts.set_token(token)

pro = ts.pro_api()

# df = pro.daily(ts_code='000001.SZSE', start_date='20200101')
# df = pro.daily(trade_date='20200325')
# df = pro.trade_cal(exchange='SSE', is_open='1',
#                             start_date='20200101',
#                             end_date='20200401',
#                             fields='cal_date')
print(df)